Crate cvars_macros
source ·Expand description
Cvars-macros
Proc macros for generating methods on your Cvars struct.
Internal crate.
This crate is not meant to be used directly, its macros are reexported by the cvars crate.
License
AGPL-v3 or newer
Macros
- Generate the
Cvars
struct and its impls. Each cvar and its default value is defined on one line. This is the recommended way of using this crate.
Derive Macros
- Generate setters and getters that take cvar names as string. This does the same thing as
cvars!
but you can use it on an existing struct.